bugfix for custom authentication user model