Fixes login as supervisor