fix for user authentication in sidekiq and doorkeeper