Improves Login Error Handling

Adds the correct error handling to the login controller based on the returned status codes from the API.

Direct response to: https://github.com/mastercoin-MSC/omniwallet/issues/264