Fixed a problem with candidates logging in