Add the ability to sign in without GitHub account

Added the ability to sign in without GitHub account.
Added and fixed tests.
Redundant `self` detected.