Dev

Fix problem when oauth server is not available