fix  warnings when running rspecs
admin page base with basic auth