Fixed lockable to return correct locked message in testing.

Without this change, lockable presents the wrong message on login attempts after a user has been locked with the `lock_access!` method. This way lockable’s functionality can be tested without simulating failed login attempts.