Prevent error on last-login update for abstract user model
Fix path join for secure media