Adding auth support.