authenticate_userfile config setting handling: a little refactoring, code clean-up