Login fixes

The forgot password page wasn't working correctly.