Implements hooks for server side authentication middleware