Bug 1312 Local account is disabled user can't log in via federation

If the federation authentication is ok but the local account is disabled, the user is not allowed to login and it is redirected to root_path with an error message.
Note: requires ruby 2.2.0-dev (2.1.2 raises an error with hash serialization)

refs #1312