Fixed bug with OAuth registration + login