Give login prompt when necessary on logs/mongo commands.

Add tests for authentication on logs and mongo commands.
Don't claim our unclaimed test app in tests.

Also increase some test timeouts.
Make email prompt also accept a username
Add a test for typing a username in the email prompt.

Also remove another test where we were claiming our legacy password-less
app.