Fixing redirect url for failed auth