Issue IKTREDEL-35 by cableman: Fixed configuration and minor bugs in auth