Made local strategy check if the user could log into their account and the accompanying tests.