Actually got login working.

For real this time,