How to bypass iCloud login for iPhone 5 running iOS 7 when email and password was forgotten?

Solution 1:

Since you can not bypass the activation lock itself, you need to contact Apple and get control of that account. If you are the original purchaser of that hardware, you might also be able to get them to reset the lock with proof of purchase and identity.

The website https://appleid.apple.com has instructions on resetting your iCloud password if you do not remember it.

You can retrieve the email by erasing the iPhone from iTunes when the device is in normal recovery mode and you will be prompted to enter the password for the email account. Also, if the device is not locked, go to the settings app and look in iCloud for the AppleID that has locked that device for firer activations.