Fixes an issue where the referrer information is overwritten on login captureing after the generic server-login view has already captured this information.