creating proper authentication token
improving authentication provider a bit