Support for the forcelogin option and alternateloginurl