Can't login with bitbucket (firefox)

Description of the problem

Trying to authenticate through bitbucket results in the error

Could not authenticate you from Bitbucket because "Invalid request: redirect uri does not match {"error description": "redirect uri does not match", "error": "invalid request"}".

This is immediate on the login screen, no redirect to bitbucket happens

Which Group/Project (with full path) is experiencing the issue?

Any. Even when filing this issue. I can login fine with my also linked github account.

Approximate date/time when the error occurred.

2017/10/17 17:00 CET

Describe what you were doing right before the issue occurred.

Trying to login to access my repositories.

The issue appears to be related to Firefox - it doesn't happen with Chrome on the same system.

Buildnaam: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 (multi account containers enabled)

(beta release)