Properly redirect to login page when we receive an authentication require error

Remove keys that are not needed by backend