Improved login error handling on server; hunting a bug when safari is being used..