Fix problem with accessing admin controllers. Write more admin tests