fixing authentication_controller logic for authenticate_by_twitter method