Separate mock and real profile server

- When not in integration mode, always use the mock PS
- Use usernames coming from the real PS
Fix profile server steps

- Don't create local users when confirming them in live PS
- Support switching user when already logged in
Merge branch 'master' into mock-profile-server