Add basic login error handling.

Ref: https://github.com/mgonto/restangular#how-can-i-handle-errors