Changes for MySQL

Local auth working
Able to link Facebook to existing account, but needs more work
Haven’t touched Twitter or Google auth yet.