fixing auth in controller unit tests