Add meaningful error messages for cases where login/registration fails.
Merge remote-tracking branch 'origin/feature/show-status-messages-109' into prototype