Yesod Persona authentication problems when using Dockerized MongoDB
We are developing an application using Yesod and MongoDB and we are having users authenticate using Mozilla Persona. However we have a development database that we use across development machines and also on our staging machine. Anytime development or testing data is added or removed from staging we synchronize it with the development machines using Docker. Here is the problem: even though our databases are exactly the same (thanks to Docker) we are encountering a situation in which we are able to log into the application on staging but not on the development machines. Basically Yesod refuses to log the application. Any ideas as to why is this happening? Thank you in advance.