Always perform database version check on login page

This ensures that we can inform users or even block users from logging in
if the database version does not match the code version.

We should stop non-admin users from logging in if the database and
code version do not match, to stop any possible corruption issues from
occuring.