Authenticate via single function.