Added the ability to sign in without GitHub account

Added the ability to sign in without GitHub account.
Added and fixed tests.