Security\User: fatal error "Call to a member function authenticate() on a non-object" changed to exception