Move run_shell call only when login directive is used.

Only when the ask_token_and_log_user_in returns $ITS_OK_TO_LOG_USER_IN
the user is logged in.