Redmine.pm not working for merges/copy #3727
This issue seems related to the https-subrequests which will not contain the authentication credentials required to pass the authen_handler.
I added a line that works around this.
I guess if the main request was declined no user would get into a sub-request anyways. If that assumtion is wrong, additional checks that the main request was authenticated should be applied.