Adjustments to the login logic so that all logins are done via the Web portal