Were fixed some authorization bugs.