Can't set pin or password, sd card unmounting
I have Samsung Galaxy Note 3, Omega Rom android 4.4.2
I installed an anti theft app called 'Android Lost'.
I installed it on my phone and went on to their site to try out some of the commands after it had registered with my google account and whatever else it does. I sent a command to my phone to lock it with a pin. My phone received the command but it didn't do what it was supposed to do. It removed the pattern lock that was on my phone and left it open to unlock without any sort of password or pin. I tried the command again and it did not work.
I gave up as I was in a rush to leave and left the house. I then tried to set a pin on my phone again and the option wasn't grayed out or anything but when I selected it and set the pin, my phone would freeze and then after a minute it would unfreeze but "swipe" would be selected. I was able to set a pattern but nothing higher security than that. Also, even when pattern was selected and I tried to set a pin, it would set it back to "swipe". I also noticed that now I am always getting a message that says "my sd card can now be removed safely" even when I didn't select for it to be removed.
I uninstalled the app and it unregistered me from the servers and all of that, but everything is still the same. Still getting the sd card message, and still can't set a pin.
I have tried the method of incorrectly entering my pattern and using google to change to a pin, that didn't work, just set it to swipe and the sd card message was still appearing.
I also tried clearing all credentials like someone mentioned, but the option is grayed out so I can't select it, and my sd card isn't encrypted and either is my internal storage.
I even went as far as manually going to each credential and disabling it, this did not fix anything either.
Today after not having any replies on the Android Lost website, I decided to factory restore my phone after backing everything up.
This, to my surprise, still did not fix the problem. Now I have a wiped phone and still can't set a pin, and am still being told my SD card can be safely removed.
I tried factory restoring several times, still no fix. I have also tried reflashing my rom, still have same issue.
I am so lost at what to do, maybe there is a cache I can clear or something on top of restoring the phone to clear the credentials as they all seem to be the same still after restore, or maybe it has something to do with my google account, or a server still sending commands to my phone or has set a lock on it. I'm not sure.
Thanks for reading, sorry if it was a bit long, I rarely post to forums as I can usually solve problems by myself by searching.
All help appreciated!
EDIT: I have been taking notes when flashing and factory resetting. The security credentials are staying the same even after each wipe and reflash. Is there any way to clear these manually as the button is still greyed out to clear them? I'm wondering if this has anything to do with not being able to set a pin and ejecting my sd card.