Changed basic auth headers for bearer token with pin code auth