Fixed major bug in cli-login: exit_codes now works