extract method #max_login_attempts

Respects Law of Demeter, useful for stubbing out methods on instance or
for apps that use the NullObject pattern for guest user accounts.
Merge pull request #21 from rossta/extract_method_populate_otp_column
Merge pull request #22 from rossta/extract_method_max_login_attempts

extract method #max_login_attempts