After defining the constant for recovery mode, are you going to the ACP to login? It will not be applied till you do. If you are still receiving an error, please clear your /datastore directory on your server. Then try to login to the ACP again.
If that does not help, we will require access to assist:
We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section.
We look forward to further assisting you.