Handle #redirect if login incorrect