Fix user login at subdomain.

Until now users could not register at subdomains. Caused by
typo in user model. Also fixed typo in registrations_controller.
Set fixed version of gem jquery-rails because active admin requires it
to be 2.3.0 and the latest does not work with it.