WOBS-3260 - Create auto api authorization on login - cherry pick