Made pre-login on receiving app_request redirect