I use Devise for authentication and Apartment for multi-tenancy support on a SAAS app.
After a failed login, devise \"redirects\" to the login page (Users::SessionsC